<script setup>
import Header from './header.vue'
import Chat from "@/components/Chat.vue";

</script>

<template>
  <div id="basicLayout">
    <a-layout>
      <a-layout-header class="header">
        <Header/>
      </a-layout-header>
      <a-layout-content class="content">
        <Chat />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a href="javascript:void(0);" onclick="return false" target="_blank">
          基于DeepSeek的新能源制氢产业问答小助手 by Aaron Lee
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#basicLayout .header{
  padding-inline: 20px;
  background: white;
  color: unset;
  margin-bottom: 18px;

}

#basicLayout .content {
  background: linear-gradient(to right, #fefefe, #fff);
  margin-bottom: 28px;
  padding: 28px;
}

#basicLayout .footer {
  text-align: center;
  background: #efefef;
  padding: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer a{
  color: #90caf9;
}

</style>